<!DOCTYPE html>
<html lang="">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, viewport-fit=cover"/>
    <link rel="icon" href="<%= BASE_URL %>favicon.ico">
    <title><%= htmlWebpackPlugin.options.title %></title>
    <link rel="stylesheet" href="./iconfont/iconfont.css">
  </head>
  <body>
    <noscript>
      <strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
    </noscript>
    <div id="app"></div>
    <!-- built files will be auto injected -->
  </body>
</html>
<script>
<<<<<<< HEAD
  // rem();
  // window.onresize=function(){
  //   rem()
  // }
  // function rem(){
  //   let hh = document.documentElement.clientWidth; //html的宽度
  //   let bh = document.body.clientWidth; //body宽度
  //   console.log(hh,bh);
  //   let h = hh||bh; //屏幕宽度
    
  //   document.documentElement.style.fontSize=(h/750*100)+'px'
  // }
//   (function(doc, win) {
//     var docEl = doc.documentElement,
//         resizeEvt = "orientationchange" in window ? "orientationchange" : "resize",
//         recalc = function() {
//             if (docEl.clientWidth > 750) {
//                 docEl.style.fontSize = "100px";
//                 doc.getElementById("app").style.width = "750px";
//             } else {
//                 var width = docEl.clientWidth / 7.5;
//                 docEl.style.fontSize = width + "px";
//                 doc.getElementById("app").style.width = "auto";
//             }
//         };
//     if (!doc.addEventListener) return;
//     win.addEventListener(resizeEvt, recalc, false);
//     doc.addEventListener("DOMContentLoaded", recalc, false);
// })(document, window);
=======
  rem()
  window.onresize=function(){
    rem()
  }
  function rem(){
    let hh=document.documentElement.clientWidth
    let bh=document.body.clientWidth
    let h=hh||bh
    document.documentElement.style.fontSize=(h/750*100)+'px'
  }
>>>>>>> 4383605433e8958342864709870d119f31b17b73
</script>
<style>
  body{
    margin: 0;
    padding: 0;
    font-size: 16px;
  }
  html,
  body,
  #app{
    height: 100%;
  }
</style>